//
//  DelegateFunc.h
//  UIComprehensive
//
//  Created by lanou3g on 16/1/27.
//  Copyright © 2016年 徐强. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DelegateFunc;

//创建一个协议
@protocol MyDelegate <NSObject>
@required
@optional
- (void)changeColor:(DelegateFunc *)delegate;
@end






@interface DelegateFunc : UIView

//代理写成属性
@property (nonatomic, weak)id<MyDelegate>delegate;



@end
